export function CommonData() {
  return {
    aaa: "AAA",
    isAdmin: function () {
      return 0 == sessionStorage.getItem("role");
    },
    getToken: function () {
      let user = sessionStorage.getItem('user');
      if (user) {
        return JSON.parse(user).token
      }
    },
    coins: [
      {
        coin: "FN"
      },
      {
        coin: "USDT"
      }
      , {
        coin: "ETH"
      }

    ]
  }
}
